// Copyright (C) joyinter
// All rights reserved.
// 
// Author : Jiang Li
// Date   : 2004-7-29

#ifndef __JOYUSERPAGECTRL_H__
#define __JOYUSERPAGECTRL_H__

#pragma once
#include <common\ui\pagectrl.h>

class CJoyUserPageCtrl;

//##ModelId=44C4B5D8034D
class CJoyUserPageContainer : public CJoyPageContainer
{
	DECLARE_DYNAMIC(CJoyUserPageContainer)

protected:
	//##ModelId=44C4B5D8034F
    int     m_cornerSize;
	//##ModelId=44C4B5D8035C
    Color   m_frameColor;

	//##ModelId=44C4B5D80360
    virtual void CM_LoadSkin(CJoyXmlElement* pSkinElem);
	//##ModelId=44C4B5D80363
    virtual void CM_Draw(Graphics& graph);
public:
	//##ModelId=44C4B5D8036D
    CJoyUserPageContainer(CJoyUserPageCtrl* pageCtrl);
	//##ModelId=44C4B5D8036F
    virtual ~CJoyUserPageContainer();
public:
    DECLARE_MESSAGE_MAP()
};

//##ModelId=44C4B5D8037A
class CJoyUserPageCtrl :
    public CJoyPageCtrl
{
public:

	//##ModelId=44C4B5D8037C
    virtual CJoyPageContainer* CreateContainer();
public:
	//##ModelId=44C4B5D8037E
    CJoyUserPageCtrl(void);
	//##ModelId=44C4B5D8038A
    virtual ~CJoyUserPageCtrl(void);
public:
    DECLARE_MESSAGE_MAP()
	//##ModelId=44C4B5D8038D
    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
};

#endif  // __JOYUSERPAGECTRL_H__
